﻿<Window x:Class="MessageBoxDialogTemplate" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MessageBoxDialogTemplate" Height="240" Width="320" WindowStartupLocation="CenterOwner" ShowInTaskbar="False">
    <Grid>
        <StackPanel Orientation="Horizontal" Height="24" Margin="0,0,12,12" HorizontalAlignment="Right" VerticalAlignment="Bottom">
            <Button Content="_OK" Height="23" HorizontalAlignment="Right"  Name="OKButton" VerticalAlignment="Bottom" Width="75" IsDefault="True" />
            <Button Visibility="Collapsed" Content="_Cancel" Height="23" HorizontalAlignment="Right" Margin="4,0,0,0" Name="CancelButton" VerticalAlignment="Bottom" Width="75" IsCancel="True" />
        </StackPanel>
        <TextBlock Name="MessageBoxText" Margin="12,12,12,41" TextWrapping="Wrap" Text="Message"/>
    </Grid>
</Window>